package com.yc.jpyy.investig.dao;

import java.util.List;
import java.util.Map;
import org.springframework.dao.DataAccessException;
import com.yc.jpyy.base.dao.BaseDao;


public interface InvestigDao extends BaseDao {


	int addInvestigDao(Map<String, Object> paramsMap) throws DataAccessException;

	int updateInvestigDao(Map<String, Object> paramsMap) throws DataAccessException;

	int delInvestigDao(Map<String, Object> paramsMap) throws DataAccessException;

	int delforUpdateInvestigDao(Map<String, Object> paramsMap) throws DataAccessException;
	
	Map<String, Object> findInvestigByIdDao(Map<String, Object> paramsMap) throws DataAccessException;
	
	 //分页查询
	List<Map<String, Object>> findInvestigDao(Map<String, Object> paramsMap)throws DataAccessException;
	  
	  //查询总数
	int findInvestigCountDao(Map<String, Object> paramsMap)throws DataAccessException;
	
	 //台账报表
     List<Map<String, Object>> findAccountReportInvestigDao(Map<String, Object> paramsMap)throws DataAccessException;
     
     //星期报表
     List<Map<String, Object>> findWeeksReportInvestigDao(Map<String, Object> paramsMap)throws DataAccessException;
     
     List<Map<String, Object>> findPunishmentDao(Map<String, Object> paramsMap)throws DataAccessException;
     
     Map<String, Object> findDriverIDforInvestig(Map<String, Object> paramsMap)throws DataAccessException;
    
     int updateInvestigScoreToDriver(Map<String, Object> paramsMap)throws DataAccessException;

     int updatePenaltyScore(Map<String, Object> paramsMap)throws DataAccessException;
     
     List<Map<String, Object>> getInvestigsByDriverId(Map<String, Object> paramsMap)throws DataAccessException;
     
     String cancel(Map<String, Object> paramsMap)throws DataAccessException;
     
     int updateInvesStatus(Map<String, Object> paramsMap)throws DataAccessException;

     
  /*   List<Map<String, Object>> findInvestigByVariable(Map<String, Object> paramsMap)throws DataAccessException;
     
     int findInvestigByVariableCount(Map<String, Object> paramsMap)throws DataAccessException;*/
}
